package com.yunxiao.cloud.sharding.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.yunxiao.cloud.sharding.entity.QueryParam;
import com.yunxiao.cloud.sharding.entity.User;

/**
 * @description: UserService
 * @date: 2019/12/25 13:17
 * @author: yunxiao
 * @version: 1.0
 */
public interface UserService extends IService<User> {
    /**
     * 分页查询
     * @param param
     * @return
     */
    IPage<User> queryPage(QueryParam param);

    /**
     * 分页信息
     * @param param
     * @return
     */
    PageInfo<User> pageHelper(QueryParam param) ;
}
